package com.qms.repast.entity;

/**
 * @author 泅渡者
 * @date 2018/9/13 0013
 * @describe: EventBus消息事件类
 */
public class MessageEvent<T> {
	private int code;
	private T message;

	public MessageEvent (int code, T message) {
		this.code = code;
		this.message = message;
	}

	public int getCode () {
		return code;
	}

	public void setCode (int code) {
		this.code = code;
	}

	public T getMessage () {
		return message;
	}

	public void setMessage (T message) {
		this.message = message;
	}
}
